Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scm): prefer starlark file for starlark pipeline #1043

Merged
merged 5 commits into from
Jan 19, 2024
Merged

Conversation

wass3r
Copy link
Collaborator

@wass3r wass3r commented Jan 18, 2024

fixes go-vela/community#488

could have been stricter here and disallowed .yml/.yaml for starlark pipelines. what monster would do this? but would be breaking.

also improved testing a bit, including the addition for testing configbackoff properly. though i opted not to test total failure case as that would add ~10s to the test. probably could be done if retries and interval were configurable. maybe that's for another PR.

@wass3r wass3r requested a review from a team as a code owner January 18, 2024 16:37
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@6098494). Click here to learn what that means.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1043   +/-   ##
=======================================
  Coverage        ?   67.16%           
=======================================
  Files           ?      330           
  Lines           ?    14091           
  Branches        ?        0           
=======================================
  Hits            ?     9464           
  Misses          ?     4148           
  Partials        ?      479           
Files Coverage Δ
scm/github/repo.go 77.20% <100.00%> (ø)

Copy link
Contributor

@ecrupper ecrupper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@ecrupper ecrupper merged commit dbe8bce into main Jan 19, 2024
11 of 13 checks passed
@ecrupper ecrupper deleted the fix/scm/config branch January 19, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants